import request from "@/utils/request";
export const getMusicList = (params) => {
  return request({
    method: 'get',
    url: `/api/playList`,
    params
  })
}
export const changeSong = (data) => {
  return request({
    method: "POST",
    url: `/api/updatePlayStatus`,
    data
  })
}
export const getMusicUrl = (data) => {
  return request({
    method: 'POST',
    url: `/api/QQMusic`,
    data
  })
}